home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / C / CUJJUL93.ZIP / UNIXFILE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-08  |  423 b   |  16 lines

  1. /*** UnixFile Class Interface: unixfile.h ***/
  2.  
  3. #include <io.h>
  4. #include <fcntl.h>
  5. #include <sys/stat.h>
  6.  
  7. DCL_METHODS(UnixFile,File,(const char *nm,int flgs,int mod))
  8.     REDCL_METHOD(Seek,(long offset, int whence), long);
  9.     REDCL_METHOD(Read,(void *buffer, int nbytes), int);
  10.     REDCL_METHOD(Write,(void *buffer, int nbytes), int);
  11. END_METHODS
  12.  
  13. DCL_MEMBERS(UnixFile,File)
  14.    int descriptor;
  15. END_MEMBERS
  16.